package com.dy.design_pattern_study.adaptor_pattern.dome2;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-07
 * @Content 球员类
 */
public abstract class Player {
    protected String name;
    public Player(String name){
        this.name = name;
    }
    public abstract void attack();
    public abstract void defense();
}
